package gamesys.games.particlesystem.utils
{
	/**
	 * @author robertthurston
	 */
	public class Range
	{
		private var _min:Number;
		private var _max:Number;

		public function Range(min:Number, max:Number)
		{
			_max = max;
			_min = min;
		}

		public function get range():Number
		{
			return _min + (Math.random() * (_max - _min));
		}

		public function get min() : Number
		{
			return _min;
		}

		public function get max() : Number
		{
			return _max;
		}
	}
}
